import { lazy } from 'react';
import { RouterItem } from 'Type/router';
const Layout = lazy(() => import('Components/Layout.tsx'));
const Home = lazy(() => import('Pages/Home/index.tsx'));
const routes: RouterItem[] = [
  {
    name: 'Index',
    path: '/',
    element: <Layout />,
    children: [
      {
        name: 'Home',
        path: '/',
        element: <Home />,
        children: [],
      },
    ],
  },
];

export default routes;
